Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read dataTypeID and tableID as unsigned uint #3347

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexDevBR
Copy link

@alexDevBR alexDevBR commented Dec 3, 2024

The oids are supposed to be unsigned ints, according to the docs.
This causes issues with oids larger than 2^31 since they become negative.
This is causing issues in other projects, like sequelize/sequelize#15466 (comment)

Copy link
Collaborator

@charmander charmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if any other things documented as IntN are secretly unsigned?

@alexDevBR
Copy link
Author

@charmander I made a request for the docs to be updated reflecting what fields are signed and which are unsigned. Can we merge this one, and when the request goes through and the docs are updated we can open another issue here to make the changes?

@alexDevBR
Copy link
Author

@charmander,is this ok to be merged?

@charmander
Copy link
Collaborator

Only brianc can publish a new version of the package, so most times, at best it doesn’t really help anything for me to merge a PR (and at worst I missed something in review, so may as well wait for the chance to get a second review anyway).

@alexDevBR
Copy link
Author

Ok. The request I made for documentation doesn't seem like it's going anywhere, and I found someone made the same request in 2020 here: https://www.postgresql.org/message-id/159173854100.661.1819403154632752741%40wrigleys.postgresql.org, so it doesn't seem like anything is going to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants